package com.zr.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author: peterChen
 * @date: 2019/11/13 11:25
 * @description: com.zr.entity
 * @version: 1.0
 */
@Data
@Table(name = "t_role")
public class Role {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    private String name; // 角色名称
    private String keyword; // 角色关键字，用于权限控制
    private String description; // 描述
}
